package com.zhxl.server.service;

import com.zhxl.server.dto.UserDto;
import com.zhxl.server.model.SysUser;
import com.zhxl.server.utils.DataResult;

public interface UserService {

	DataResult<SysUser> saveUser(UserDto userDto);

	DataResult<SysUser> updateUser(UserDto userDto);

	SysUser getUser(String username);

	void changePassword(String username, String oldPassword, String newPassword);

}
